<!doctype html>
<html>
<head>
<meta charset="utf-8" />
<title>new page</title>
<style type="text/css">
#flashmessage{
	position: absolute;
	border:1px solid #CCCCCC;
    width:300px;
    border:1px solid #c93;
    background:#ffc;
    padding:5px;
    color: #333333;
	display:none;
}
</style>
<script type="text/javascript" src="http://code.jquery.com/jquery-latest.js"></script>

<script type="text/javascript">
<!--
function submit111()
{
$.ajax({
        type: 'POST',
        url: 'welcome/test_ajax',
        data: 'id=1',
        success: function(response) {
 var response = $.evalJSON(response);
            if(response.message) {
				alert(11);
               //do some animation
            }
        }
    });
}
//-->
</script>
</head>
<body>
<form method="post" action="">
	<input type="button" onclick="submit111();" />
</form>
</body>
</html>